<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>基本资料</title>
    <link rel="stylesheet" href="../css/reset.css">
    <link rel="stylesheet" href="../css/common.css">
    <link rel="stylesheet" href="../js/layui/css/layui.css">
    <link rel="stylesheet" href="../css/iconfont/iconfont.css">
    <link rel="stylesheet" href="../css/schedules_conn.css">
</head>
<body>
<header class="clearfix">
    <div class="container clearfix">
        <div class="logo fl">
            <a href="#"><img src="../images/logo.png" alt=""></a>
        </div>
        <div class="nav-select fl">
            <div class="select-input ">首页</div>
            <span class="line hide"></span>
            <ul class="hide">
                <li><a href="##">首页</a></li>
                <li><a href="##">首页</a></li>
                <li><a href="##">首页</a></li>
                <li><a href="##">首页</a></li>
                <li><a href="##">首页</a></li>
                <li><a href="##">首页</a></li>
            </ul>
        </div>
        <div class="fr">
            <div class="search fl">
                <div class="dropdown fl">
                    <select name="" id="">
                        <option value="">课程</option>
                        <option value="">老师</option>
                    </select>
                </div>
                <div class="search-box fl">
                    <input type="text">
                    <i class="iconfont">&#xe641;</i>
                </div>
            </div>
            <div class="fl header-nav">
                <ul>
                    <li><a href="#">个人中心</a></li>
                    <li><a href="#">我的订单</a></li>
                    <li class="active"><a href="#">我的课表</a></li>
                    <li><a href="#">我的收藏</a></li>
                    <li><a href="#"><i class="iconfont">&#xe62e;</i></a></li>
                    <li><a href="#">退出</a></li>
                </ul>
            </div>
        </div>
    </div>
</header>
<div class="center clearfix">
    <div class="center-top clearfix  tch-schedules">
        <div class="img-box fl">
            <img src="../images/head_pho.png" alt="">
            <p>13900234555</p>
        </div>
        <div class="center-menu">
            <div class="menu fl">
                <a href="#">我的账号</a>
                <ul>
                    <li class="active"><a href="#">基本资料</a></li>
                    <li><a href="#">修改登录密码</a></li>
                </ul>
            </div>
            <div class="menu fl">
                <a href="#">课程管理</a>
                <ul>
                    <li><a href="#">创建课程</a></li>
                    <li><a href="#">我的课表</a></li>
                    <li><a href="#">我的课程</a></li>
                </ul>
            </div>
            <div class="menu fl">
                <a href="#">心理咨询</a>
                <ul>
                    <li><a href="#">我的排班</a></li>
                    <li><a href="#">设置排班</a></li>
                </ul>
            </div>
            <div class="menu fl">
                <a href="#">专家问诊</a>
                <ul>
                    <li><a href="#">我的排班</a></li>
                    <li><a href="#">设置排班</a></li>
                </ul>
            </div>
            <div class="menu fl">
                <a href="#">学员信息</a>
            </div>
            <div class="menu fl">
                <a href="#">我的积分</a>
                <ul>
                    <li><a href="#">积分充值</a></li>
                    <li><a href="#">我的礼物</a></li>
                </ul>
            </div>
            <div class="menu fl">
                <a href="#">留言反馈</a>
            </div>
        </div>
    </div>
    <div class="center-content">
        <div class="schedules userinfo clearfix">
            <div class="img-box fl file-box">
                <p>个人头像</p>
                <img src="../images/upload.png" alt="">
                <input type="file" name="" id="" class="upload-file" />
                <p><button class="ensure upload-tx">上传照片</button></p>
            </div>
            <div class="info-box fl">
                <div class="change-item">
                    <label for="">账号：</label>
                    <span>156293293289</span>
                </div>
                <div class="change-item">
                    <label for="">昵称：</label>
                    <input type="text" value="陈诗诗">
                </div>
                <div class="change-item">
                    <label for="">性别：</label>
                    <span>男</span>
                    <p class="switch clearfix">
                        <span class="man sex fl"></span>
                        <span class="female fr"></span>
                    </p>
                    <span>女</span>
                </div>
                <div class="change-item">
                    <label for="">地区：</label>
                    <select name=""></select>
                    <select name=""></select>
                    <select name=""></select>
                </div>
                <div class="change-item">
                    <label for="">所属机构：</label>
                    <span>易托管</span>
                </div>
                <div class="change-item">
                    <label for="">身份认证：</label>
                    <span class="passed">认证通过</span>
                    <a class="ensure wdrz">我要认证</a>
                    <span class="tip">*认证通过才可创建课程</span>
                </div>
                <div class="change-item">
                    <label for="">个人简介：</label>
                    <textarea name="" ></textarea>
                </div>
                <div class="change-item">
                    <label for="">收货地址：</label>
                    <button class="add-adds fr" id="add-adds">添加</button>
                    <div class="address-box clearfix">
                        <p>
                            <span>陈晓辉</span>
                            <span>1507482930</span>
                        </p>
                        <p>广东省广州市天河区黄村</p>
                        <p class="fl">510000</p>
                        <p class="fr">
                            <button>编辑</button>
                            <button>删除</button>
                        </p>
                    </div>
                    <div class="address-box clearfix">
                        <p>
                            <span>陈晓辉</span>
                            <span>1507482930</span>
                        </p>
                        <p>广东省广州市天河区黄村</p>
                        <p class="fl">510000</p>
                        <p class="fr">
                            <button>编辑</button>
                            <button>删除</button>
                        </p>
                    </div>
                </div>
                <div class="ensure-div">
                    <button class="cancle">取消</button>
                    <button class="ensure">保存</button>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="introduce">
    <div class="container">
        <div class="top clearfix">
            <div class="logo fl"><a href="#"><img src="../images/logo.png" alt=""></a></div>
            <div class="fl download">
                <img src="../images/erweima.png" alt="">
                <p>客户端下载</p>
            </div>
            <div class="fl download">
                <img src="../images/erweima.png" alt="">
                <p>微信公众号</p>
            </div>
            <div class="fl contact">
                <p><i class="iconfont">&#xe618;</i>020-32146993</p>
                <p><i class="iconfont">&#xe61b;</i>4903 Deangel Row Suite 838</p>
                <p><i class="iconfont">&#xe639;</i>support@company.com</p>
            </div>
        </div>
        <div class="contact-ul clearfix">
            <ul>
                <li><a href="#">关于我们</a></li>
                <li><a href="#">人才招聘</a></li>
                <li><a href="#">服务协议</a></li>
            </ul>
        </div>
        <div class="footline">
            <img src="../images/footer_end.png" alt="">
        </div>
    </div>
</div>
<footer>
    <p>广州市家合教育科技有限公司</p>
    <p>地址：广州市增城大道69号万达广场金街9栋201-204 粤ICP备16098091号</p>
</footer>
</body>
</html>
<div id="add-adds-box" style="display: none">
    <div class="add-box">
        <div class="add-item">
            <label for="">姓名</label>
            <input type="text">
        </div>
        <div class="add-item">
            <label for="">手机号码</label>
            <input type="text">
        </div>
        <div class="add-item">
            <label for="">地址</label>
            <select name="" id="">
                <option value="">广东省</option>
            </select>
            <select name="" id="">
                <option value="">广州市</option>
            </select>
            <select name="" id="">
                <option value="">天河区</option>
            </select>
        </div>
        <div class="add-item">
            <label for="">详细地址</label>
            <input type="text">
        </div>
        <div class="add-item">
            <label for="">邮编</label>
            <input type="text">
        </div>
        <div class="add-item add-btn">
            <button>取消</button>
            <button>确定</button>
        </div>
    </div>
</div>
<script type="text/javascript" src="../js/jquery.min.js"></script>
<script type="text/javascript" src="../js/conn.js"></script>
<script src="../js/bootstrap.min.js" type="text/javascript"></script>
<script src="../js/layui/layui.js"></script>
<script>
    $(function () {
        $('.switch span').on('click',function () {
            $(this).addClass('sex').siblings().removeClass('sex')
        })

        // 添加地址
        $('#add-adds').on('click',function () {
            var addHtml=$('#add-adds-box').html()
            layui.use('layer', function(){
                var layer = layui.layer;
                layer.open({
                    type:1,
                    content:addHtml,
                    title:'添加地址',
                    area:['500px','400px'],
                    success:function () {
                        
                    }
                })
            });
        })
    })
</script>